import request from "@/utils/request";
// 审批列表
export function PageAddress(query) {
    return request({
        url: "/flowable/task/getPageAddress",
        method: "get",
        params: query,
    });
}

export function FlowRecord(query) {
    return request({
        url: "/flowable/task/flowRecord",
        method: "get",
        params: query,
    });
}
export function FlowAudit(query) {
    return request({
        url: "/flowable/task/audit",
        method: "post",
        data: query,
    });
}

export function FlowVariables(query) {
    return request({
        url: "/flowable/task/processVariables",
        method: "get",
        params: query,
    });
}

export function ReturnList(query) {
    return request({
        url: "/flowable/task/returnList",
        method: "post",
        data: query,
    });
}

export function UpdateState(query) {
    return request({
        url: "/flowable/task/updateStateProcessInstId",
        method: "post",
        data: query,
    });
}
export const ExportFile = "/flowable/task/exportFlowList";
